#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "menu.h"
#include "operate.h"
#include "myDatatype.h"

/*主函数*/
int main(int argc, char *argv[]) 
{	
	/*建立头结点*/
	struct Node *supPhead = CreateHead();
	struct Node *comPhead = CreateHead();
	struct Node *staPhead = CreateHead();
	struct Node *masterPurPhead = CreateHead();
	struct Node *detailPurPhead = CreateHead();
	
	/*将头结点放入主菜单*/
	Menu(supPhead, comPhead, staPhead, masterPurPhead, detailPurPhead);
	
	/*释放链表*/
	Release(supPhead);
	Release(comPhead);
	Release(staPhead);
	Release(masterPurPhead);
	Release(detailPurPhead);
	return 0;      
}